﻿using hello.csharp.common.Interfaces;
using MongoDB.Driver;

namespace hello.csharp.storage.Db.Mongo
{
    public abstract class MongoStorageBase
    {
        protected readonly IMongoDatabase _Database;

        protected MongoStorageBase(IDbManager dbManager)
        {
            _Database = ((MongoManager) dbManager.NosqlDb).Database;
        }
    }
}
